package bookshop.service;

import java.util.List;

import bookshop.domain.Category;
import bookshop.service.helper.CategoryQueryHelper;
import bookshop.utils.Page;

public interface CategoryService {


	//新增图书类别
	void createCategory(Category ctg);
	
	
	//显示图书类别
	List<Category> loadall();
	
	//根据所给的图书类别编号查询并返回所有信息
	Category  getCategoryById(int ctgId);
	
	//更新图书类别
	void updateCategory(Category ctg);
	
	//删除图书类别
	void removeCtg(Integer ctgId);
	
	//根据指定查询条件查询图书类别
	Page loadCategoryByCondition(CategoryQueryHelper helper,Page page);


	
	
}
